# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=7

inherit git-r3 qmake-utils xdg-utils

DESCRIPTION="A soundboard for hot-keying and playing back sounds. (For podcasting)"
HOMEPAGE="https://github.com/covarianttensor/CasterSoundboard"
MY_AUTHOR="covarianttensor"
EGIT_REPO_URI="https://github.com/covarianttensor/CasterSoundboard.git"

EGIT_BRANCH="master"
KEYWORDS=""

LICENSE="GPL-3"
SLOT="0"
IUSE=""

DEPEND="dev-qt/qtmultimedia:5
		dev-qt/qtgui:5
        dev-qt/qtdeclarative:5
        dev-qt/qtwidgets:5
        dev-qt/qtcore:5"

RDEPEND="${DEPEND}"

S="${S}"/CasterSoundboard/

src_configure() {
	eqmake5 PREFIX="${ED}"/usr CasterSoundboard.pro
}

pkg_postinst() {
    xdg_desktop_database_update
}
pkg_postrm() {
    xdg_desktop_database_update
}
